/**
 * Project Name:dsrs-systemservice-domain
 * File Name:PwdRuleCreateForm.java
 * Package Name:com.bwda.dsrs.systemservice.domain.form.pwdrule;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.form.pwdrule;

import com.bwda.dsrs.base.centerbase.condition.BaseCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 密码规则（创建条件）
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
@Data
@ApiModel(description = "密码规则")
public class PwdRuleCreateForm {

	@ApiModelProperty(value = "规则名称")
	private String ruleName;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasNumber;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasUpper;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasLower;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasSpecial;

	@ApiModelProperty(value = "特殊字符列举!@#$%^&")
	private String characters;

	@ApiModelProperty(value = "0不做弱密码校验1启用弱密码检验")
	private Integer isWeakPwdCheck;

	@ApiModelProperty(value = "验证码:0:一直不启用1.一直启用 2.登录失败")
	private Integer enableVerifiCode;

	@ApiModelProperty(value = "验证码启用选择：登录失败 情况下 几次失败启用")
	private Integer verifiFailTime;

	@ApiModelProperty(value = "历史密码校验")
	private Integer historyPwdTime;

	@ApiModelProperty(value = "0内置1自定义")
	private Integer isDefault;

	@ApiModelProperty(value = "最小长度")
	private Integer minLength;

	@ApiModelProperty(value = "最大长度")
	private Long maxLength;

	@ApiModelProperty(value = "有效期")
	private Integer validDays;

	@ApiModelProperty(value = "提前告知天数")
	private Integer notifyDays;

	@ApiModelProperty(value = "允许失败次数")
	private Integer failTimes;

	@ApiModelProperty(value = "0自动解锁1手动解锁")
	private Integer failDeal;

	@ApiModelProperty(value = "冻结后，x分钟后自动解锁")
	private Integer lockTime;

	@ApiModelProperty(value = "敏感等级")
	private Integer secretLevel;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "0正常 1禁用")
	private Integer status;

	@ApiModelProperty(value = "0未删除 1已删除")
	private Integer delFlag;

}